package com.roger.myHome.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class LotteryAddReq implements Serializable {

    private String type;

    private String host;

    private String customer;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date buyDate;

    private String predictResult;
}
